//
//  UserInfoManager.h
//  much
//
//  Created by weijunjie on 2019/1/3.
//  Copyright © 2019年 iOS. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UserBaseInfoModel.h"

#define USER [UserInfoManager instance]
NS_ASSUME_NONNULL_BEGIN
@class UserBaseInfo;
@interface UserInfoManager : NSObject
@property (nonatomic, strong) UserBaseInfo *userBaseInfo;
@property (nonatomic, assign, readonly) BOOL isLogin;


+ (instancetype)instance;
- (void)wakeupUser;
- (void)logout:(void(^)(id success))success;

@end

@interface UserBaseInfo : NSObject
/**
 用户token
 */
@property (nonatomic, copy) NSString *token;
/** 用户基本信息 */
@property (nonatomic, strong) UserBaseInfoModel *infoModel;

@end

NS_ASSUME_NONNULL_END
